package com.dkm.ec.activity.domain;

import com.dkm.base.core.helper.SpringHelper;
import com.dkm.biz.domain.AbstractDomain;
import com.dkm.ec.activity.persistence.dao.CommonActivityConfigDao;
import com.dkm.ec.activity.persistence.entity.CommonActivityConfigPo;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

/**
 *
 * 通用活动配置领域对象实体
 * Created by fanjinyuan on 2017/8/11.
 */
@SuppressWarnings("serial")
@Service
@Scope("prototype")
public class CommonActivityConfig extends AbstractDomain<String, CommonActivityConfigPo> {

    private CommonActivityConfigDao commonActivityConfigDao = null;

    protected void init(){
        commonActivityConfigDao = SpringHelper.getBean(CommonActivityConfigDao.class);
        setDao(commonActivityConfigDao);
    }

}
